package Thefourthdexperiment;

/**
 * Created by hasee on 2017/11/27.
 */
public class RST {
    public static void main(String[] args) {
        RouterService routerService = new RouterService();
        routerService.addVexs('a');
        routerService.addVexs('b');
        routerService.addVexs('c');
        routerService.addVexs('d');
        routerService.addVexs('e');
        routerService.addMatrix(0,1,3);
        routerService.addMatrix(1,2,1);
        routerService.addMatrix(2,4,6);
        routerService.addMatrix(1,3,7);
        routerService.addMatrix(2,3,1);
        System.out.println(routerService.sort(1,3));
    }
}
